From: | Christian Hattemer |
Date: | 17 Aug 99 at 17:56:18 |
Subject: | Re: Structure Arrays |
From: Christian Hattemer <Chris@heaven.riednet.wh.tu-darmstadt.de>
On 17-Aug-99 Rod Schnell wrote:
> struct Gadget **gadgets; // gadget pointer array
> gadgets = AllocVec( (sizeof(struct Gadget *) * (GAD_MAX)), MEMF_ANY |
> MEMF_CLEAR)
> while(i < GAD_MAX)
> {
> gadgets[i++] = AllocVec(sizeof(struct Gadget), MEMF_ANY | MEMF_CLEAR)
> }
This looks like a good idea, it's probably the simplest way.
I'll try my idea first, it should be a little faster when geting the mem in
two blocks instead of a number of smaller ones.
Bye, Chris
Yes, they really try multitasking with Pentiums:
Cooking and computing with the same processor!
Problem is: Computing is still under development.